package com.practice.thread;

public class Teacher implements Singer, Painter {
	private String name;

	public Teacher(String name) {
		this.name = name;
	}

	public String getName() {
		return name;
	}

	public void teach() {
		System.out.println("Teaching");
	}

	@Override
	public void paint() {
		System.out.println("Teacher is painting!");
	}

	@Override
	public void eat() {
		System.out.println("Teacher is eating!");
	}

	@Override
	public void sing() {
		System.out.println("Teacher is singing!");
	}

	@Override
	public void sleep() {
		System.out.println("Teacher is sleeping!");
	}
}
